<template>
	<page-body>
		<view class="page">
			<view class="flex flex-wrap align-center justify-between benben-position-layout flex phoneNumber_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center phoneNumber_fd0_0'>
					<image class='phoneNumber_fd0_0_c0' mode="aspectFit" :src='STATIC_URL+"1576.png"'
						@tap.stop="handleJumpDiy" data-type="back" data-url="1"></image>
				</view>
				<view class='flex flex-wrap align-center phoneNumber_fd0_0'>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout phoneNumber_flex_1">
				<view class='flex flex-direction  align-center justify-between phoneNumber_fd1_0'>
					<image class='phoneNumber_fd1_0_c0' mode="aspectFill" :src='STATIC_URL+"1662.png"'></image>
					<text class='phoneNumber_fd1_0_c1'>绑定手机号</text>
				</view>
				<view class='flex flex-wrap align-center phoneNumber_fd1_1'>
					<image class='phoneNumber_fd1_1_c0' mode="aspectFit" :src='STATIC_URL+"3.png"'></image>
					<benben-input class='flex-sub phoneNumber_fd1_1_c1' type="number" :placeholder="$t('请输入手机号')"
						confirm-type="done" :maxlength="11" placeholder-style="color:#999;font-size:28rpx" />
				</view>
				<view class='flex flex-wrap align-center phoneNumber_fd1_2'>
					<image class='phoneNumber_fd1_1_c0' mode="aspectFit" :src='STATIC_URL+"7.png"'></image>
					<benben-input class='flex-sub phoneNumber_fd1_1_c1' type="number" :placeholder="$t('请输入验证码')"
						confirm-type="done" :maxlength="4" placeholder-style="color:#999;font-size:28rpx"
						v-model="code" />
					<benben-send-verification-code key='1707097218497' ref="vCode1707097218497"
						class=' phoneNumber_fd1_2_c2' :after-text="$t('后重新获取')" :before-text="$t('获取验证码')"
						:emptye-text="$t('请输入手机号')" :validate-text="$t('请输入正确的手机号')" account-type='phone' :auto='true'
						type='5' :is-environment-verification='false' :phone="phone"></benben-send-verification-code>
				</view>
				<button class='phoneNumber_fd1_3'>{{$t('确定绑定')}}</button>
			</view>

			<!---flex布局flex布局结束-->


		</view>
	</page-body>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},


		data() {
			return {
				"phone": "",
				"code": "",
				"dataList": {
					"code": ""
				}
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {

		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//基础功能-发送验证码
			async getjgb5bdc44796e8Func() {
				//请求方法
				//数据验证

				let datadataList = await this.$api.post(global.apiUrls.post5b5bdc44796e8, {
					mobile: this.phone,
					type: '5',
					is_test: '1'
				});

				if (datadataList.data.code != 1) {
					this.$message.info(datadataList.data.msg);
					return
				}
				let infodataList = datadataList.data;
				this.dataList = infodataList.data

			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: url(image-path('1663.png')) no-repeat;
		background-size: 100% auto;
	}

	.phoneNumber_flex_0 {
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
	}

	.phoneNumber_fd0_0_c0 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 0rpx 0rpx 32rpx;
	}

	.phoneNumber_fd0_0 {
		width: 100rpx;
		height: 88rpx;
	}

	.phoneNumber_flex_1 {
		padding: 0rpx 56rpx 0rpx 56rpx;
	}

	.phoneNumber_fd1_3 {
		background: #134ddf;
		border-radius: 50rpx 50rpx 50rpx 50rpx;
		font-size: 32rpx;
		color: var(--benbenFontColor3);
		width: 638rpx;
		height: 88rpx;
		line-height: 88rpx;
		margin: 78rpx 0rpx 32rpx 0rpx;
	}

	.phoneNumber_fd1_2_c2 {
		background: #134ddf;
		width: 200rpx;
		height: 64rpx;
		line-height: 64rpx;
		text-align: center;
		border-radius: 32rpx;
		background-size: 100% auto;
		color: rgba(255, 255, 255, 1);
	}

	.phoneNumber_fd1_2 {
		// background: #E8EEFF;
		// border-radius: 44rpx 44rpx 44rpx 44rpx;
		// box-shadow: 0rpx 3rpx 6rpx 1rpx #FFF2F4;
		padding: 0rpx 10rpx 0rpx 32rpx;
		border-bottom: 2rpx solid #F2F4F7;
	}

	.phoneNumber_fd1_1_c1 {
		height: 88rpx;
		margin: 0rpx 0rpx 0rpx 32rpx;
		color: var(--benbenFontColor0);
		font-size: 28rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.phoneNumber_fd1_1_c0 {
		width: 34rpx;
		height: 34rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.phoneNumber_fd1_1 {
		// background: #E8EEFF;
		// border-radius: 44rpx 44rpx 44rpx 44rpx;
		// box-shadow: 0rpx 3rpx 6rpx 1rpx #FFF2F4;
		padding: 0rpx 32rpx 0rpx 32rpx;
		margin: 84rpx 0rpx 32rpx 0rpx;
		border-bottom: 2rpx solid #F2F4F7;
	}

	.phoneNumber_fd1_0_c1 {
		color: rgba(57, 65, 98, 1);
		font-size: 54rpx;
		font-weight: 600;
		line-height: 45rpx;
	}

	.phoneNumber_fd1_0_c0 {
		width: 220rpx;
		height: 232rpx;
		border-radius: 40rpx;
	}

	.phoneNumber_fd1_0 {
		margin: 84rpx 0rpx 0rpx 0rpx;
		height: 230rpx;
	}
</style>
